﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessLibrary.DAL;

namespace BusinessLibrary.BLL
{
   public class Authentification 
    {
        /// <summary>
        /// rien a ajouter
        /// </summary>
        public int  Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Login { get; set; } 

        /// <summary>
        /// 
        /// </summary>
        public string Pass { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Droit { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Actif { get; set; }

        /// <summary>
        /// 
        /// </summary>


        # region methode

        //
        public static Authentification GetAuthentificationById(int id)
        {
 
            return SqlAuthentification.GetAuthentificationById(id);
        }


        #endregion
    }
}
